#include <stdio.h>

int main(){
    int i,j,a,b,x;
    for(i=2;i<85;i++){
        if(168%i==0){
            j=168/i;
            if(i>j&&(i+j)%2==0&&(i-j)%2==0){
                a=(i-j)/2;
                x=a*a-100;
                printf("%d\n",x);
            }
        }
    }
    return 0;
}
